package com.oceansoft.mobile.econsole.modules.jlapi.entity;

import com.google.common.base.Strings;

/**
 * 违章车辆查询条件
 * Created by smc on 2016/2/19.
 */
public class OffenseVehicleSearchCondition {

   private String  jdccllxbm ;    //JDCCLLXDM 机动车车辆类型代码 CHAR

    private String fdj;  //发动机后六位

    private  String  jdchphm;  //JDCHPHM 机动车号牌号码 VARCHAR2

    public String getJdccllxbm() {
        return jdccllxbm;
    }

    public void setJdccllxbm(String jdccllxbm) {
        this.jdccllxbm = jdccllxbm;
    }

    public String getFdj() {
        return fdj;
    }

    public void setFdj(String fdj) {
        this.fdj = fdj;
    }

    public String getJdchphm() {
        return jdchphm;
    }

    public void setJdchphm(String jdchphm) {
        this.jdchphm = jdchphm;
    }

    public String nullOrEmpty() {
        if (Strings.isNullOrEmpty(this.fdj) || Strings.isNullOrEmpty(this.jdccllxbm) || Strings.isNullOrEmpty(this.jdchphm)) {
            return "查询参数不正确，请确认！";
        }
        this.jdchphm = "云"+jdchphm;
        return "";
    }
}
